package org.xiji.ChainOfResponsibility;

/**
 * 老师
 */
public class Teacher extends Handler{
    @Override
    public void handle(int day) {
        if (day <= 2) {
            System.out.println("老师批注请假"+day+"天");
        }else {
            nextHandler.handle(day);
        }

    }
}
